
.modal-content {
  border-radius: 5px;
  border: none;
  color: $dropdown-text;
  background-color: $body-bg;

  $mainBgUrl: $images-root + 'blur-bg-blurred.jpg';

  background: url($mainBgUrl) no-repeat center center;
  background-size: cover;
}

.modal-header {
  color: $label-text;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  .modal-title {
    color: #ffffff;
  }
}

.modal-buttons {
  margin-top: -12px;
  margin-right: -22px;
  button {
    float: left;
    margin-right: 24px;
    margin-top: 12px;
  }
  &.same-width {
    button {
      width: 160px;
      text-align: center;
    }
  }
}

$modal-input-border: #e7e7e7;

.modal {
  text-align: center;
  .modal-dialog {

    vertical-align:middle;

    margin-left: auto !important;


    display: inline-block;
    text-align: left;
    //margin: 0 auto;
    .form-control{
      color: $github-color;
      background-color: transparent;
      border: 1px solid $modal-input-border;
      @include placeholderStyle($dropdown-text, 0.9);
    }
    .modal-body p, .modal-body div, .modal-body span, .modal-body h2 {
      color: #ffffff;
    }

    .modal-body form .form-group label {
      font-size: 15px !important;
      font-weight: 600 !important;
    }

  }
  .modal-header {
    border: none;
    .close{
      margin-top: -5px;
    }
  }
  .modal-footer {
    border: none;
    padding-top: 0;
  }
  .modal-icon{
    margin-right: 3px;
  }
  .sn-link-close {
    color: $dropdown-text;
    font-size: 30px;
    &:hover {
      color: $danger;
    }
  }

  input .ng-invalid {
    background-color: red;
  }
}

.hr-line-dashed {
  position: relative;
  border-top: 1px dashed #e7eaec;
  color: #fff;
  background-color: #fff;
  height: 1px;
  margin: 20px 0;
}

@media screen and (min-width: $resM) {
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal.fade {
  display: flex !important;
  //justify-content: center;
  align-items: center;
}

.message-modal {
  .modal-header {
    text-align: center;
    i {
      font-size: 32px;
    }
  }
  .modal-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 18px;
  }
  .modal-body {
    text-align: center;
    padding: 0;
  }
  .modal-footer {
    margin: 24px 0 12px;
    text-align: center;
  }
}
